home *** CD-ROM | disk | FTP | other *** search
- function §\x01\x02§()
- {
- return 746 % 511 * 5;
- }
- var §\x01§ = -993 + "\x01\x02"();
- while(true)
- {
- if(eval("\x01") == 182)
- {
- set("\x01",eval("\x01") + 668);
- §§push(true);
- }
- else if(eval("\x01") == 973)
- {
- set("\x01",eval("\x01") - 947);
- }
- else
- {
- if(eval("\x01") == 606)
- {
- set("\x01",eval("\x01") + 367);
- §§pop()[§§pop()] = function §\x01\x02§()
- {
- return 746 % 511 * 5;
- };
- _loc1_[§§constant(9)] = _loc1_[§§constant(70)][§§constant(54)](§§constant(69),§§constant(69) + _loc1_[§§constant(50)],_loc1_[§§constant(50)]);
- _loc1_[§§constant(9)][§§constant(65)] = _loc1_[§§constant(24)];
- _loc1_[§§constant(9)][§§constant(66)] = _loc1_[§§constant(25)];
- var _loc2_ = new §\§\§constant(72)§(_loc1_[§§constant(21)][§§constant(71)]());
- _loc2_[§§constant(74)](_loc1_[§§constant(21)][§§constant(73)]());
- var _loc3_ = eval(§§constant(26))[§§constant(27)](eval(§§constant(26))[§§constant(75)]() * 3);
- if(_loc3_ == 0)
- {
- _loc2_[§§constant(77)](§§constant(76));
- }
- if(_loc3_ == 1)
- {
- _loc2_[§§constant(77)](§§constant(78));
- }
- if(_loc3_ == 2)
- {
- _loc2_[§§constant(77)](§§constant(79));
- }
- if(_loc3_ == 3)
- {
- _loc2_[§§constant(77)](§§constant(80));
- }
- _loc2_[§§constant(81)](0,1);
- _loc1_[§§constant(9)][§§constant(10)] = 200;
- _loc1_[§§constant(9)][§§constant(11)] = 200;
- §§pop()[§§pop()] = §§pop();
- §§constant(82)(eval(§§constant(1))[§§constant(3)][§§constant(4)][§§constant(5)][§§constant(14)],null,1);
- break;
- }
- if(eval("\x01") == 454)
- {
- set("\x01",eval("\x01") + 3);
- if(function §\x01\x02§()
- {
- return 746 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") - 238);
- }
- }
- else if(eval("\x01") == 172)
- {
- set("\x01",eval("\x01") + 611);
- §§push("\x0f");
- §§push(1);
- }
- else
- {
- if(eval("\x01") == 457)
- {
- set("\x01",eval("\x01") - 238);
- break;
- }
- if(eval("\x01") == 26)
- {
- set("\x01",eval("\x01") + 428);
- §§push(true);
- }
- else if(eval("\x01") == 589)
- {
- set("\x01",eval("\x01") - 563);
- }
- else if(eval("\x01") == 783)
- {
- set("\x01",eval("\x01") + 42);
- var §§pop() = function §\x01\x02§()
- {
- return 746 % 511 * 5;
- };
- }
- else if(eval("\x01") == 518)
- {
- set("\x01",eval("\x01") - 59);
- §§push(eval(function §\x01\x02§()
- {
- return 746 % 511 * 5;
- }));
- }
- else if(eval("\x01") == 825)
- {
- set("\x01",eval("\x01") - 307);
- §§push("\x0f");
- }
- else if(eval("\x01") == 254)
- {
- set("\x01",eval("\x01") - 82);
- }
- else if(eval("\x01") == 219)
- {
- set("\x01",eval("\x01") - 47);
- }
- else if(eval("\x01") == 850)
- {
- set("\x01",eval("\x01") - 244);
- if(function §\x01\x02§()
- {
- return 746 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") + 367);
- }
- }
- else if(eval("\x01") == 459)
- {
- set("\x01",eval("\x01") - 331);
- §§push(!function §\x01\x02§()
- {
- return 746 % 511 * 5;
- });
- }
- else if(eval("\x01") == 128)
- {
- set("\x01",eval("\x01") + 259);
- if(function §\x01\x02§()
- {
- return 746 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") + 566);
- }
- }
- else
- {
- if(eval("\x01") == 953)
- {
- set("\x01",eval("\x01") + 4);
- if(!_global.com)
- {
- _global.com = new Object();
- }
- function §\x01\x02§()
- {
- return 746 % 511 * 5;
- }
- if(!_global.com.evilfree)
- {
- _global.com.evilfree = new Object();
- }
- §§pop();
- if(!_global.com.evilfree.astroidsRevenge)
- {
- _global.com.evilfree.astroidsRevenge = new Object();
- }
- §§pop();
- if(!_global.com.evilfree.astroidsRevenge.Bullet)
- {
- com.evilfree.astroidsRevenge.Bullet extends com.evilfree.astroidsRevenge.BaseCharacter;
- _loc2_ = com.evilfree.astroidsRevenge.Bullet = function(m, target_mc)
- {
- super();
- this.main = m;
- this.myDamage = 10;
- }.prototype;
- _loc2_.setDamage = function(dAmount)
- {
- this.myDamage = dAmount;
- };
- _loc2_.getDamage = function()
- {
- return this.myDamage;
- };
- _loc2_.applyFriction = function()
- {
- };
- _loc2_.checkBounds = function()
- {
- if(this.xPos > this.main.getStageWidth() + 150)
- {
- this.main.removeBullet(this);
- }
- else if(this.xPos < -150)
- {
- this.main.removeBullet(this);
- }
- else if(this.yPos > this.main.getStageHeight() + 150)
- {
- this.main.removeBullet(this);
- }
- else if(this.yPos < -150)
- {
- this.main.removeBullet(this);
- }
- };
- _loc2_.drawMe = function()
- {
- var _loc2_ = this.main.getBitmap();
- if(this.myDamage == 10)
- {
- _loc2_.fillRect(new flash.geom.Rectangle(this.xPos - 1,this.yPos - 1,3,3),16711680);
- }
- if(this.myDamage == 20)
- {
- _loc2_.fillRect(new flash.geom.Rectangle(this.xPos - 2,this.yPos - 2,4,4),65280);
- }
- };
- _loc2_.animate = function()
- {
- super.animate();
- var _loc12_ = this.main.getBitmap();
- if(_loc12_.getPixel(this.xPos,this.yPos) == 0)
- {
- return undefined;
- }
- var _loc11_ = Math.floor(this.xPos / 50);
- var _loc10_ = Math.floor(this.yPos / 50);
- var _loc8_ = this.main.getAsteroidsFromGrid(_loc11_,_loc10_);
- if(_loc8_ == undefined)
- {
- return undefined;
- }
- var _loc9_ = _loc8_.length;
- var _loc4_ = 0;
- while(_loc4_ < _loc9_)
- {
- var _loc3_ = _loc8_[_loc4_];
- var _loc5_ = this.getTargetXDistance(_loc3_);
- var _loc6_ = this.getTargetYDistance(_loc3_);
- var _loc7_ = Math.sqrt(_loc5_ * _loc5_ + _loc6_ * _loc6_);
- if(_loc7_ < _loc3_.getSize() / 2 + 5)
- {
- _loc3_.bulletHitMe(this.myDamage);
- this.main.removeBullet(this);
- break;
- }
- _loc4_ = _loc4_ + 1;
- }
- };
- §§push(ASSetPropFlags(com.evilfree.astroidsRevenge.Bullet.prototype,null,1));
- }
- §§pop();
- break;
- }
- if(eval("\x01") != 387)
- {
- if(eval("\x01") == 957)
- {
- set("\x01",eval("\x01") - 957);
- }
- break;
- }
- set("\x01",eval("\x01") + 566);
- }
- }
- }
- }
-